/*
 * @Author: your name
 * @Date: 2020-10-09 16:32:04
 * @LastEditTime: 2020-10-09 16:32:08
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \egg-RESTfulAPI\app\model\validateEtc.js
 */
module.exports = app => {
    const mongoose = app.mongoose
    const UserSchema = new mongoose.Schema({
        交易次数: { type: Number, unique: false },
        门架编号: { type: String, unique: false },
        GANTRYID: { type: String, unique: false },
        FLAGINDEX: { type: Number, unique: false },
        FLAGNAME: { type: String, unique: false },
        FLAGPLATE: { type: String, unique: false },
        FLAGTYPE: { type: Number, unique: false },
        IPADDRESS: { type: String, unique: false },
        ROADWAY: { type: Number, unique: false },
        TOLLROADID: { type: Number, unique: false },
        TOLLSECTIONID: { type: String, unique: false },
        ENNODE: { type: Number, unique: false },
        EXNODE: { type: Number, unique: false },
        LAT: { type: Number, unique: false },
        LNG: { type: Number, unique: false },
        PILENUM: { type: String, unique: false },
        ISUSED: { type: Number, unique: false },
        ISVIRTUAL: { type: Number, unique: false },
        STARTTIME: { type: Date, unique: false },
        STOPTIME: { type: Date, unique: false },
        BIZORG: { type: Number, unique: false },
        MANTAINORG: { type: Number, unique: false },
        BELONGORG: { type: Number, unique: false },
        RESERVE: { type: String, unique: false },
        UPDATETIME: { type: Date, unique: false },
    })
    return mongoose.model('ValidateEtcs', UserSchema)
}
